#-------------------------------------------------
#
# Project created by QtCreator 2023-10-15T23:15:16
#
#-------------------------------------------------

QT += core gui serialport

QT       += core gui network
CONFIG += C++11 g++
QT +=printsupport
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = gantry_robot_flexible
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0


SOURCES += \
        main.cpp \
        appa_dapter_controller.cpp \
        automatic/automatic_mode.cpp \
        manual_manipulation/manual_manipulation.cpp \
        menu/menu.cpp \
        thread/mythread.cpp \
        user_switch/user_switch.cpp \
        util/util.cpp \
        zero_return_mode/zero_return_mode.cpp \
        softkey/softkeys.cpp \
        system_setting/system_setting.cpp \
        external_memory/external_memory.cpp \
        softkey/softkeyboard.cpp \
        caltimer/caltimer.cpp \
        teachmode/teachmode.cpp \
        program_editor/program_editor.cpp \
        transmit_data/transmit_data.cpp \
    3rdparty/tinyxml2-master/tinyxml2.cpp \
    tcp_thread/tcp_thread.cpp \
    rs422_serial_port/rs422_serial_port.cpp \
    speed_add_dec/speed_add_dec.cpp

HEADERS += \
        appa_dapter_controller.h \
        menu/menu.h \
        automatic/automatic_mode.h \
        manual_manipulation/manual_manipulation.h \
        thread/mythread.h \
        user_switch/user_switch.h \
        util/util.h \
        zero_return_mode/zero_return_mode.h \
        softkey/softkeys.h \
        system_setting/system_setting.h \
        external_memory/external_memory.h \
        softkey/softkeyboard.h \
        caltimer/caltimer.h \
        teachmode/teachmode.h \
        program_editor/program_editor.h \
        transmit_data/transmit_data.h \
    3rdparty/tinyxml2-master/tinyxml2.h \
    tcp_thread/tcp_thread.h \
    safe_thread_queue/safe_thread_queue.hpp \
    rs422_serial_port/rs422_serial_port.h \
    draw_circle_delegate/draw_circle_delegate.hpp \
    speed_add_dec/speed_add_dec.h

FORMS += \
    menu/menu.ui \
    automatic/automatic_mode.ui \
    manual_manipulation/manualmanipulation.ui \
    user_switch/user_switch.ui \
    zero_return_mode/zero_return_mode.ui \
    system_setting/system_setting.ui \
    external_memory/external_memory.ui \
    caltimer/caltimer.ui \
    teachmode/teachmode.ui \
    program_editor/program_editor.ui \
    transmit_data/transmit_data.ui \
    rs422_serial_port/rs422_serial_port.ui \
    speed_add_dec/speed_add_dec.ui

RESOURCES += \
    res.qrc \
